package com.wanmait.zaisousuo.service;

import com.wanmait.zaisousuo.pojo.Admin;

import java.sql.Timestamp;

public interface AdminService extends CommonService<Admin> {
    Admin login(Admin admin);

    String changeDisabled(Boolean flag, Integer adminId,String adminName);

    Integer addAdmin(Admin admin);

    void updateLoginInfo(String lastLoginIp, Timestamp lastLoginTime,Integer id);

    void changeAdminPassword(Integer id,String newPW);

}
